import QHeader from "./components/Qheader";
import Content from "./components/content";
import { useNavigate } from 'react-router-dom';
function App() {
  return (
    <div className="App">
      <QHeader />
      <Content />
    </div>
  );
}

function useJump() { // 自定义Hook以use开头
  const navigate = useNavigate();
  return () => navigate('list');
}

export default App;
